package com.limeng.catalina;

public class Service {

    private Connector connector;

    private Engine engine;

    private Executor executor;

    public Service(Connector connector, Engine engine) {
        this.connector = connector;
        this.engine = engine;
    }

    public Service(Connector connector, Engine engine, Executor executor) {
        this.connector = connector;
        this.engine = engine;
        this.executor = executor;
    }

    public Connector getConnector() {
        return connector;
    }

    public void setConnector(Connector connector) {
        this.connector = connector;
    }

    public Engine getContainer() {
        return engine;
    }

    public void setContainer(Engine engine) {
        this.engine = engine;
    }

    public Executor getExecutor() {
        return executor;
    }

    public void setExecutor(Executor executor) {
        this.executor = executor;
    }
}
